package com.lepu.datajackson.config;

import org.springframework.context.annotation.Configuration;

/**
 * web config
 *
 * @author yongqiang.guo
 * @date 2021/11/3
 */
@Configuration
public class WebConfig {

//    @Bean
//    public HttpMessageConverter<?> httpMessageConverter() {
//        FastJsonHttpMessageConverter fastJsonHttpMessageConverter = new FastJsonHttpMessageConverter();
//        FastJsonConfig fastJsonConfig = fastJsonHttpMessageConverter.getFastJsonConfig();
//        fastJsonConfig.setSerializeFilters(new SensitiveValueFilter());
//        return fastJsonHttpMessageConverter;
//    }
}
